import {isEmpty,prettyPrint} from "."
const success = (textOrTitle: string, content = '') => {
  const title = isEmpty(content) ? 'Success ' : textOrTitle;
  const text = isEmpty(content) ? textOrTitle : content;
  prettyPrint(title, text, '#67C23A');
};

export {success};